//package cn.kgc.servlet;
//
//import cn.kgc.service.impl.userServiceImpl;
//import cn.kgc.service.userService;
//
//import javax.servlet.ServletException;
//import javax.servlet.annotation.WebServlet;
//import javax.servlet.http.HttpServlet;
//import javax.servlet.http.HttpServletRequest;
//import javax.servlet.http.HttpServletResponse;
//import java.io.IOException;
//import java.io.PrintWriter;
//
//@WebServlet("/TotalCountServlet")
//public class TotalCountServlet extends HttpServlet {
//	private static final long serialVersionUID = 1L;
//
//    public TotalCountServlet() {
//        super();
//    }
//	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
//		PrintWriter out = response.getWriter();
//		userService us = new userServiceImpl();
//		String name = request.getParameter("name");
//		out.print(us.totalCount(name));
//	}
//
//}
